//
//  Events.m
//  Mecca
//
//  Created by Nico Villanueva iOS Dev on 23/7/14.
//  Copyright (c) 2014 TapDash Heuristics. All rights reserved.
//

#import "Events.h"

@implementation Events

- (NSString*)eventId{
    return _eventIdStr;
}

- (NSString*)eventName{
    return _eventNameStr;
}

- (NSString*)eventDesc{
    return _eventDescStr;
}

- (NSString*)eventLocation{
    return _eventLocationStr;
}

- (NSString*)eventDate{
    return _eventDateStr;
}

- (NSString*)eventImage{
    return _eventImageStr;
}


+(instancetype)eventWithID:(NSString*)eventID andName:(NSString*)eventName andDescription:(NSString*)eventDesc andLocation:(NSString*)eventLoc andDate:(NSString*)eventDate andImage:(NSString*)eventImage{
    
    Events *event = [[self alloc]init];
    
    event.eventIdStr = eventID;
    event.eventNameStr = eventName;
    event.eventDescStr = eventDesc;
    event.eventLocationStr = eventLoc;
    event.eventDateStr = eventDate;
    event.eventImageStr = eventImage;
    
    return event;
}



@end
